package com.cn.hnust.controller.hcontroller;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import com.cn.hnust.pojo.User;
import com.cn.hnust.service.IUserService;

@Controller
@RequestMapping("/hindex")
public class IndexController {

	
	@Resource
	private IUserService userService;
	
	@RequestMapping("/viewhome")
	public String viewindex1(HttpServletRequest request, Model model,User user) {
		return "index";
	}
	
}
